<template>
  <div class="container">
    <router-link to="/">
      <span class="iconfont back-icon">&#xe624;</span>
    </router-link>
    <div class="title">城市选择</div>
  </div>
</template>

<script>
export default {
  name: 'CityHeader'
}
</script>

<style lang="stylus" scoped>
  @import '~styles/varibles.styl'
  @import '~styles/mixins.styl'
  .container
    width 100%
    height $headerHeight
    line-height $headerHeight
    color #fff
    background $bgColor
    position relative
    .back-icon
      color #fff
      position absolute
      top 0
      left 0
      height $headerHeight
      width: .64rem
      font-size: 0.4rem;
      text-align center
    .title
      margin 0 1rem
      text-align center
      font-size .32rem
      ellipsis()
</style>
